Rendering best practices

Optimizing rendering performance is often done at the cost of rendering quality or memory consumption, but the improvements in the performance of your application can be significant.

Optimizing rendering performance of your applications

To optimize rendering performance of your applications, consider the following:

Viewing layers in your application that are rendered into texture

Switching between framebuffer objects can cause significant performance reduction on some platforms. Conditions when Kanzi renders a layer into a texture can be complex. For example, rotation, scale, or opacity can cause render to texture to occur.

To view if a layer is rendered into a texture, and causing a framebuffer object (FBO) switch, in the Preview enter the Debug mode and select Layer render to texture visualization.
The Preview highlights the layers that are rendered into texture with transparent, orange stripes.

See also

Partial rendering

Optimizing rendering of layouts

Setting layers for efficient rendering

Preventing overdraw with sorting filters

Rendering static content

Rendering transparent objects

Reducing shader switches

Measuring the performance of your Kanzi application

Best practices